/*
 * Copyright (c) 2002-2017 Huha City Group Holding Limited. All rights reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
package me.huha.zhime.pay.config;

/* *
 * 类名：AlipayConfig功能：基础配置类详细：设置帐户有关信息及返回路径版本：3.3日期：2012-08-10说明：
 * 以下代码只是为了方便商户测试而提供的样例代码，商户可以根据自己网站的需要，按照技术文档编写,并非一定要使用该代码。该代码仅供学习和研究支付宝接口使用，只是提供一个参考。
 * 
 * 提示：如何获取安全校验码和合作身份者ID1.用您的签约支付宝账号登录支付宝网站(www.alipay.com)
 * 2.点击“商家服务”(https://b.alipay.com/order/myOrder.htm)3.点击“查询合作者身份(PID)”、“查询安全校验码(Key)”
 * 
 * 安全校验码查看时，输入支付密码后，页面呈灰色的现象，怎么办？解决方法：1、检查浏览器配置，不让浏览器做弹框屏蔽设置2、更换浏览器或电脑，重新登录查询。
 */

public class AlipayConfig {

	// ↓↓↓↓↓↓↓↓↓↓请在这里配置您的基本信息↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓

	// 应用ID,您的APPID，收款账号既是您的APPID对应支付宝账号
	public static String app_id = "2017102509516459";

	// 商户私钥，您的PKCS8格式RSA2私钥
	public static String merchant_private_key = "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC19KiaXGC4Yj3nFmm5ckafb+rZT+uLjuiZxy5EV6WBet5OO+iSrZJcIZivOfGXd8Bxq2mNxwNs9JJNx+r8ohy0DrOi4b9C3DOr67Ra4sCuVsqpliZI+9kCS+cCamLLAVX+CCtprB67FJ8kUxjE/jWecYmy4Ap//iQCZBOljlCcqfBRpLCMfo+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OCkYU/qrVwHhz7F1MKaoAzZVpSUn80Ixji8d77wi3PO8hxIj9BSk8Qf1et10zFBXbzwpmhr2oCCXXS6N9u28fHuhnwPkCO+YMsapT+YSJRZ9AflsI3e3iEv1mbWxJ9NUDZWcL2HAoGBAMEMC2hlMdH7Kg/p1YUY6fH9BZ9BpP80ami1YaampAIg1uGREu6eKPa6u5hf7iFo1sI4rrJbnNPSBai4t+NIa0YVCDcJz97zQGwA3TaBXAwdkdf563aRkc3Z7Tm/VV1NTxe/q2CxyB+akw2YbaqtrIwcPAJ/ivVZxMscEP5GYTjz";

	// 支付宝公钥,查看地址：https://openhome.alipay.com/platform/keyManage.htm
	// 对应APPID下的支付宝公钥。
	public static String alipay_public_key = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAhuU6mQJbfxvqCZznGo0BjZqm0IoVKljEJvxNiGB8bAGmO3d8bUEneBbIxyAtIDsImccsHJd/uzF2NIlEJ5uXVMuVrlbMIa4qPhkIcNySyTYKI7VYGsDP1BsICnKbALgYKm4JARTM3EAIdu1HkmQgDXdCqlPAIzG19ivCXk5UGmIhklnCoTHWWlbP9svN3pwZyeykpaTv7PGF4//xwGPJg1bGJDbnKYnergdZ9WzX9RY0himbHVdqrsCikV8nfWnDe2j771xlsK3ZCopqsGq8pG6NzJYuQSp72W5thnaPWSYA53JMEQQfR2ShNbyRxnJUu9nelwrCYV2YFMH3SfQ6lQIDAQAB";

	// 服务器异步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
	public static String notify_url = PayConfig.domain_name + "/alipay/tradePush";

	// 页面跳转同步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
	public static String return_url = PayConfig.domain_name + "/alipay/returnPush";

	// 签名方式
	public static String sign_type = "RSA2";

	// 字符编码格式
	public static String charset = "utf-8";

	// 支付宝网关
	public static String gatewayUrl = "https://openapi.alipay.com/gateway.do";

	// 支付宝网关
	public static String log_path = "/logs/paylog";

	// ↑↑↑↑↑↑↑↑↑↑请在这里配置您的基本信息↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑

}
